package com.gbx.ximalayating.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.gbx.ximalayating.R;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public class AdsWebActivity extends AppCompatActivity {
    public static final String ADS_URL = "http://adse.ximalaya.com/ting/loading?appid=0&device=android&name=loading&network=wifi&operator=0&version=4.3.98";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ads_web);
        WebView webView = (WebView) findViewById(R.id.webView);
        webView.setWebViewClient(new WebViewClient());
//        webView.loadUrl();
        Retrofit retrofit = new Retrofit.Builder()
                .baseUrl("http://adse.ximalaya.com/")
                .addConverterFactory(GsonConverterFactory.create())
                .build();
//        Picasso picasso = Picasso.with(this).load("")
    }
}
